package com.mycompany.crm.service;

import com.mycompany.crm.query.CustomerOrderQuery;

import java.util.Map;

/**
 * @author jy
 * @version 1.0
 * @date 2022/3/9 16:49
 */
public interface CustomerOrderService {

    /**
     * 多条件分页查询客户
     * @param customerOrderQuery
     * @return
     */
    Map<String, Object> queryCustomerOrderByParams(CustomerOrderQuery customerOrderQuery);

    /**
     * 通过订单ID查询对应的订单记录
     * @param orderId
     * @return
     */
    Map<String, Object> queryOrderById(Integer orderId);
}
